package com.v9.flow.util;

import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lunshi
 */
public abstract class AbstractFlowForm {
    public List<FormField> list = new ArrayList<>();

    /**
     * 表单编码*
     */
    @Getter
    private String formCode;
    /**
     * 表单标题*
     */
    @Getter
    private String title;
    /**
     * 是否为审核表单*
     */
    @Getter
    private Boolean audiForm;

    public void add(FormField... items) {
        for (FormField item : items) {
            list.add(item);
        }
    }

}
